package com
{
	public class PlayerData extends FlaObject
	{
		public var _playerName:flaInputText;
		public var _referral:flaInputText;
		public var _frags:flaInputText;
		public var _blankets:flaInputText;
		public var _waiver:flaInputText;
		
		private var _title1:FlaText = new FlaText("Player Name:");
		private var _title2:FlaText = new FlaText("Brought By:");
		private var _title3:FlaText = new FlaText("Frags:");
		private var _title4:FlaText = new FlaText("Blankets:");
		private var _title5:FlaText = new FlaText("Waiver:");
		
		public function PlayerData()
		{
			_playerName = new flaInputText();
			addChild(_playerName);
			_referral = new flaInputText();
			addChild(_referral);
			_frags = new flaInputText();
			addChild(_frags);
			_blankets = new flaInputText();
			addChild(_blankets);
			_waiver = new flaInputText();
			addChild(_waiver);
			
			_playerName.border = true;
			_playerName.tabIndex = 0;
			_playerName.width = 200;
			_referral.border = true;
			_referral.tabIndex = 1;
			_referral.width = 200;
			_frags.border = true;
			_frags.tabIndex = 2;
			_frags.width = 50;
			_blankets.border = true;
			_blankets.tabIndex = 3;
			_blankets.width = 50;
			_waiver.tabIndex = 3.1;
			_waiver.width = 50;
			_waiver.border = true;
			
			_referral.x = 0;
			_referral.y = 50;
			_frags.x = 0;
			_frags.y = 100;
			_blankets.x = 0; 
			_blankets.y = 150;
			_waiver.x = 100;
			_waiver.y = 100;
			
			addChild(_title1);
			addChild(_title2);
			addChild(_title3);
			addChild(_title4);
			addChild(_title5);
			
			_title1.y = -20;
			_title2.y = 30;
			_title2.x = 0;
			_title3.y = 80;
			_title3.x = 0;
			_title4.y = 130;
			_title4.x = 0;
			_title5.y = 80;
			_title5.x = 100;
		}
	}
}